#ifndef MOONNOTE_H
#define MOONNOTE_H

#include <QtWidgets/QMainWindow>


class QToolButton;

class SideBar;
class NoteListWidget;
class EditView;

class MoonNote : public QMainWindow
{
	Q_OBJECT

private:
	QMenu* fileMenu;
	QMenu* editMenu;
	QMenu* toolMenu;
	QMenu* helpMenu;
	

	QToolButton* newNoteBtn;
	QToolButton* saveNoteBtn;

	SideBar* sideBar;
	NoteListWidget* noteListWidget;
	EditView* editView;

	QAction* newNoteAction;

	void createMenu();
	void createToolBar();
	void createAction();


public:
	MoonNote(QWidget *parent = 0);
	~MoonNote();



};

#endif // MOONNOTE_H
